package com.jye.rseven.user.mapper;

import com.jye.rseven.domain.Address;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;


@Mapper
public interface AddressMapper{

    void addAddress(@Param("address")Address address);

    void updateAddress(@Param("address")Address address);

    List<Address> findAddressByUId(@Param("uId") int uId);

    void deleteAddressById(@Param("id")int id);

}
